VBA functionality in Word 2007 [closed]
Posted
by
Mac
on Programmers
See other posts from Programmers
or by Mac
Published on 2012-11-02T06:55:26Z
Indexed on
2012/11/02
11:16 UTC
Read the original article
Hit count: 158
vba
I have a VB system that utilises VBA and MSWord 20078. I have a few problems that I am hoping you solve for me.
- I need to search for a string in a Word 2007 document and then pickup all characters into a VB Variable from that string to the next carriage return inclusive. I will then manipulate the contents of the VB variable.
- When I find the search string I need to know what section of the document I am in.
- Once I have these two pieces of information I then need to continue to the next occurrence of the search string and repeat my functionality.
- Once I have dealt with the last occurrence of the search string I need to know that so that I can exit the process.
Any assistance would be greatly appreciated
© Programmers or respective owner